package com.googlecode.c4e.api.model;

public class Project {

	private ProjectGroup group;
	private String name;
	private String artifactId;
	private String groupId;
	private String version;
	private String scmUrl;
	private Integer state;
	private int id;

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setGroup(ProjectGroup group) {
		this.group = group;
	}

	public ProjectGroup getGroup() {
		return group;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getState() {
		return state;
	}

	public void setScmUrl(String scmUrl) {
		this.scmUrl = scmUrl;
	}

	public String getScmUrl() {
		return scmUrl;
	}

	public void setArtifactId(String artifactId) {
		this.artifactId = artifactId;
	}

	public String getArtifactId() {
		return artifactId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getVersion() {
		return version;
	}

	public String toString() {
		return "Project: " + name + " (" + groupId + "/" + artifactId + "/"
				+ version + ")";
	}

}
